﻿using System;
using PBLOG;
using System.Linq;
using System.Diagnostics;
using System.Collections.Generic;

namespace TestPBLOG
{
    class Program
    {
        static void Main(string[] args)
        {
            Logger logger = new Logger();

            User user = new User()
            {
                Username = "pisolobill",
                Rule = "Administrator"
            };

            Log log = new Log()
            {
                Message = "Hello, world!",
                LogType = LogType.Info
            };

            //logger.Users.Add("pisolobill", "Admin");

            logger.Logs.Add("Hello, world!", "pisolobill", LogType.Debug);

            //logger.Logs.Clear(LogType.Debug);

            //logger.Users.Remove("pisolobill");
            
            Console.WriteLine(logger.Logs.Count);

            Console.ReadLine();
        }
    }
}
